print("Python is" + 3 * " good")    # 加号拼接字符串
print("Python is" " good")      # 相邻字符串自然拼接

sentence = "Life is short,you need something."
print(sentence[:23] + "Python.")    # 字符串修改